@charset "utf-8";
* {
    margin: 0;
    padding: 0;
}
img {
    vertical-align: middle;
}

/* 容器 */
.container {
    width: 1000px;
    margin: 50px auto;
    overflow: hidden;
    position: relative;
}

/* 图片 */
.slides {
    width: calc(10 * 1000px);
    transition: all .5s linear;    
}
.slides > img {
    width: calc(100% / 10);
    display: inline-block;
   
}

/* 缩略图 */
.thumbnail {
    font-size: 0;
    position: absolute;
    right: 0;
    bottom: 0;
}
.thumbnail > .item {
    width: 60px;
    height: 60px;
    display: inline-block;
    cursor: pointer;
    position: relative;
    background-size: cover !important;
}
.thumbnail > .item::after {
    content: "";
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
}
.thumbnail > .item.sel::after {
    border: 4px solid #408a40;
}


/* 信息 */
.infos {
    width: 25%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    box-sizing: border-box;
    padding: 8px;

    color: #ffffff;
    
    position: absolute;
    top: 0;
    left: 0;
}

.name {
    font-size: 26px;
    margin: 8px 0;
}
.position {
    width: 40px;
    background: green;
    border-radius: 8px;

    text-align: center;
    font-size: 12px;
    line-height: 20px;
}

.values .item {
    margin: 6px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.value {
    display: inline-block;
    width: 150px;
    height: 25px;
    margin-left: 12px;
}

.buy-btn {
    width: 120px;
    margin-top: 35px;
    background: darkred;

    cursor: pointer;
    text-align: center;
    letter-spacing: 2px;
    line-height: 40px;
    color: #ffffff;
}